/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jpaintball;

import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;


/**
 *
 * @author ondra
 */
public class SmallBunker extends Bunker {

    Image sprite;

    SmallBunker(int x, int y, double angle) {

        super(x, y, 40, 40, 20, 20, angle);
        sprite = ImageManager.getImage(ImageManager.IMG_SMALL_BUNKER);
    }

    public void drawSprite(Graphics2D g2d) {
        g2d.drawImage(sprite, position.getX()-3, position.getY()-3, null);
    }

}
